Objects Reference

flyEngine::activate

Prototype

void activate(bsp_object *d,int flag=1)

Parameters

Parameter Type Description
d bsp_object * stock object to activate
flag int flag:
1-adds to bsp
0-not add to bsp

Return Value

None

Remarks

This function activates an object from the stock. It clones the stock object and adds it to the list of active objects. If flag is TRUE, the object is also added to the bsp tree.